package com.lzz.subject.domain.handler.subject;

import com.lzz.subject.common.enums.SubjectInfoTypeEnum;
import com.lzz.subject.domain.entity.SubjectInfoBO;
import com.lzz.subject.domain.entity.SubjectOptionBO;

/**
 * @Author: lzz
 * @Date: 2024-05-20-10:19
 * @Description:
 */
public interface SubjectTypeHandler {

    /**
     * 枚举身份的识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();

    /**
     * 实际的题目插入
     * @param subjectInfoBO
     */
    void add(SubjectInfoBO subjectInfoBO);

    SubjectOptionBO query(Long subjectId);
}
